package com.hpf.tool.interfaces;

import java.util.List;

import com.hpf.tool.entity.BaseEntity;
import com.hpf.tool.entity.PagingEntity;
/**
 * 
 * @author hpf
 *
 * @param <T>
 * @param <C>
 */
public interface BasalMapper<T extends BaseEntity,C extends PagingEntity> extends BasalHandle<T,C>{
	/**
	 * 查询资源集合
	 * @param condition <C extends PagingEntity>
	 * @return 
	 */
	List<T> findResourceList(C condition);
	/**
	 * 查询资源统计
	 * @param condition
	 * @return
	 */
	long findResourceCount(C condition);
}
